using Machine.Specifications;
using Unbound.Tests.Unbinding.Configuration;
using Unbound.Tests.Unbinding.TestObjects;

namespace Unbound.Tests.Unbinding.Specifications.ComplexTypes
{
	[Subject("Unbinding")]
	public class complex_type_sans_prefix : complex_type
	{
		Establish context = () =>
		                    	{
		                    		Request = new ComplexType
		                    		          	{
		                    		          		Number = 42,
		                    		          		Text = "Something"
		                    		          	};
										Unbind = () => Request.ToHttpDictionary();
		                    		Prefix = "";
		                    	};

		Behaves_like<complex_binding_behaviors> it_was_properly_bound;
	}
}